<?php
namespace Common\Controller;
use Think\Controller;
/**
 * 后台基类Controller
 */
class AdminBaseController extends Controller
{
	/**
	 * 初始化方法
	 */
	public function _initialize(){
		if (session('admin') != 'is_login') {
			redirect(U('Admin/Login/login'));
		}
	}
}